package Month09.day0926.part_2;

public class TianE extends Animal implements Running,Jump,Swim{//天鹅类


    public TianE(String name, int age, String gender) {
        super(name, age, gender);
    }

    @Override
    public void jump() {
        System.out.println(name + "身体一摇一摆的跳");
    }

    @Override
    public void run() {
        System.out.println(name + "小脚掌噗嗤的跑");
    }

    @Override
    public void swim() {
        System.out.println(name + "在水里开心的游");
    }
}
